﻿namespace CloudNinja.Metering.Tests
{
    public class GetTenantIdTests
    {
        //[Fact]
        //public void TenantIdPatternScenarios()
        //{
        //    Assert.AreEqual(string.Empty, IISLogProvider.GetTenantId(string.Empty, "werwer"));
        //    Assert.AreEqual(string.Empty, IISLogProvider.GetTenantId(string.Empty, "}{"));
        //    Assert.AreEqual(string.Empty, IISLogProvider.GetTenantId(string.Empty, string.Empty));
        //    Assert.AreEqual(string.Empty, IISLogProvider.GetTenantId(string.Empty, "{{}}"));

        //    Assert.AreEqual(
        //        "ercenk", IISLogProvider.GetTenantId("ercenk.thecloudninja.com", "{.*}.thecloudninja.com"));

        //    Assert.AreEqual(
        //        "TaskResults", IISLogProvider.GetTenantId("/Operations/TaskResults/CompletedTaskDetails", "/Operations/{.*}/CompletedTaskDeta.*"));
        //}
    }
}